package com.mkjb.repository;

import com.mkjb.entity.Role;
import com.mkjb.utils.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper {
    List<Role> getList(Page listDto);

    List<Role> getRoleListByUserUuid(String userUuid);

    Role findByUuid(String uuid);

    void save(Role role);

    void update(Role role);

    void delete(String uuid);

    List<Role> selectRoleListByUserUuid();

}
